package com.api.shopapi.service;

import com.api.shopapi.entity.Error;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface ErrorService {

    int insert(Error error);

    List<Error> getList();

    PageInfo<Error> getPageList(int pageIndex, int pageSize);

}
